﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Taobao.Tools2.Domain
{
    public class Trade:IEntity<long>
    {
        public long ID { get; set; }
        public string SellerNick { get; set; }
        public string BuyerNick { get; set; }
        public string Status { get; set; }
        public string OrdersTitle { get; set; }
        public string OrderPrice { get; set; }
        public short? OrderNum { get; set; }
        public DateTime? PayTime { get; set; }
        public string AlipayNo { get; set; }
        public string BuyerMemo { get; set; }
        public string Payment { get; set; }
        public long TaobaoTID { get; set; }
        public string ReceiverAddress { get; set; }
        public string ReceiverCity { get; set; }
        public string ReceiverName { get; set; }
        public string ReceiverState { get; set; }
        public string ReceiverDistrict { get; set; }
        public string ReceiverZip { get; set; }
        public string ReceiverMobile { get; set; }
        public string ReceiverPhone { get; set; }
        public string SellerMobile { get; set; }
        public string SellerName { get; set; }
        public DateTime? Created { get; set; }
        public string BuyerAlipayNo { get; set; }
        public string PostFee { get; set; }
        public string ShippingType { get; set; }
        public string Type { get; set; }
        //public short? Process { get; set; }
        //public DateTime? ProcessTime { get; set; }
        public short ShopID { get; set; }
        public string SellerMemo { get; set; }
        public string SellerFlag { get; set; }
        public short? Seller_Flag { get; set; }
        public short? TProcess { get; set; }
        public DateTime? EndTime { get; set; }
        public decimal? AdjustFee { get; set; }
        public decimal? DiscountFee { get; set; }

        //public byte? MakeSureFlag { get; set; }
        //public byte? GetTKFlag { get; set; }
        //public byte? TKFlag { get; set; }
        //public byte? NBDailIDD { get; set; }
        //public byte? DelFlag { get; set; }
        //public byte? CwchkFlag { get; set; }
        //public DateTime? CwchkTime { get; set; }
        //public DateTime? InTime { get; set; }
        //public string CwchkUser { get; set; }
        //public string MakeUser { get; set; }
        
        public virtual Shop Shop { get; set; }
        public virtual ICollection<OrderInfo> OrderInfos { get; set; }
        public virtual ICollection<PromotionDetail> PromotionDetails { get; set; }
    }
}
